/*
 * Contact Class is used for handling the owners's account on the device
 */

package com.user;


public class Contact {
	//private variables
    private int _id;
    private String _name;
    private String _telephone;
 
    // Empty constructor
    public Contact(){
    }
    
    // constructor
    public Contact(int id, String name, String _telephone){
        this._id = id;
        this._name = name;
        this._telephone = _telephone;
    }
 
    // constructor
    public Contact(String name, String telephone){
        this._name = name;
        this._telephone = telephone;
    }
    
    // getting ID
    public int getID(){
        return this._id;
    }
 
    // setting id
    public void setID(int id){
        this._id = id;
    }
 
    // getting name
    public String getName(){
        return this._name;
    }
 
    // setting name
    public void setName(String name){
        this._name = name;
    }
 
    // getting phone number
    public String getTelephone(){
        return this._telephone;
    }
 
    // setting phone number
    public void setTelephone(String telephone){
        this._telephone = telephone;
    }
}
